﻿<Window x:Class="ConvertSourceToHtml.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ConvertSourceToHtml" WindowStartupLocation="CenterScreen" SizeToContent="WidthAndHeight"
        WindowStyle="None" AllowsTransparency="True" Background="Transparent"
        MouseLeftButtonDown="Window_MouseLeftButtonDown">
    
    <StackPanel Orientation="Vertical">
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Height="20">
            <Path Fill="#CCFFE4C4" Data="M 15,0
                                         V 20
                                         H 0
                                         Q 12,16 15,0" />
            <Grid Grid.Row="0" Width="38" Height="20" HorizontalAlignment="Right" Background="#CCFFE4C4">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                
                <Path Grid.Column="0" Style="{StaticResource closeMinimizeButtons}" Name="minimizeButton" MouseLeftButtonDown="minimizeButton_MouseLeftButtonDown"
                      MouseLeftButtonUp="minimizeButton_MouseLeftButtonUp"
                      Data="M 0,3
                            H 9" />
                <Path Grid.Column="1" Style="{StaticResource closeMinimizeButtons}" Name="closeButton" MouseLeftButtonDown="closeButton_MouseLeftButtonDown"
                      MouseLeftButtonUp="closeButton_MouseLeftButtonUp"
                      Data="M -1,2
                            L 7,10
                            M -1,10
                            L 7,2" />
            </Grid>
        </StackPanel>
        
        <Border Grid.Row="1" Width="150" Height="190" Background="#CCFFE4C4" CornerRadius="70, 0, 70, 0">
            <Grid Margin="22">
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition Height="15" />
                    <RowDefinition />
                </Grid.RowDefinitions>
                
                <Border Grid.Row="0" CornerRadius="50, 0, 0, 0" Style="{StaticResource stylishButtonBorder}">
                    <Border CornerRadius="49, 0, 0, 0" Style="{StaticResource stylishButton}"
                            MouseLeftButtonUp="settingsButton_MouseLeftButtonUp">
                        <TextBlock FontSize="19" Style="{StaticResource stylishButtonText}" Margin="0, 3, 0, 0">Settings</TextBlock>
                    </Border> 
                </Border>
                
                <Border Grid.Row="2" CornerRadius="0, 0, 50, 0" Style="{StaticResource stylishButtonBorder}">
                    <Border CornerRadius="0, 0, 49, 0" Style="{StaticResource stylishButton}" MouseLeftButtonUp="convertButton_MouseLeftButtonUp">
                        <TextBlock FontSize="19" Style="{StaticResource stylishButtonText}" Margin="0, 0, 0, 6">Convert</TextBlock>
                    </Border>
                </Border>
            </Grid>
        </Border>
    </StackPanel>
</Window>